package org.zoomdev.zoom.dao.adapters.result;

import org.zoomdev.zoom.dao.adapters.ResultSetAdapter;

import java.sql.ResultSet;
import java.sql.SQLException;

public class BytesResultSetAdapter implements ResultSetAdapter {
    public static final ByteResultSetAdapter ADAPTER = new ByteResultSetAdapter();

    @Override
    public Object getObject(ResultSet rs, int index) throws SQLException {
        return rs.getBytes(index);
    }
}
